package com.feng.service;

import com.feng.domain.ResponseResult;
import org.springframework.web.multipart.MultipartFile;

/**
 * 文件上传
 */
public interface UploadService {
    /**
     * 图片文件上传
     * @param img
     * @return
     */
    ResponseResult uploadImg(MultipartFile img);

    /**
     * 图片文件上传，改为用阿里云
     * @param img
     * @return
     */
    ResponseResult uploadImgs(MultipartFile img);
}
